From: Leopold Palomo-Avellaneda Date: Tue, 6 Oct 2015 06:36:02 +0000 (+0200) Subject: Added parallel build in some Archs (!=32 bits). X-Git-Tag: archive/raspbian/1.14.0+dfsg-2+rpi1^2~203 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=905483a981ce1920bb588e505c33b333f1d7189f;p=pcl.git Added parallel build in some Archs (!=32 bits). --- diff --git a/debian/changelog b/debian/changelog index 5cc44ebb..da4c3b1e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pcl (1.7.2-11) UNRELEASED; urgency=medium + + * Add parallel build in some Archs (!=32 bits). + Closes: #799218 + + -- Leopold Palomo-Avellaneda Wed, 23 Sep 2015 12:12:31 +0200 + pcl (1.7.2-10) unstable; urgency=medium * Fix an other FTBFS on ppc64el diff --git a/debian/rules b/debian/rules index 88c850c4..387d5ae7 100755 --- a/debian/rules +++ b/debian/rules @@ -20,6 +20,14 @@ BUILD_DOC = $(if $(shell dh_listpackages | grep libpcl-doc),-DWITH_DOCS=ON) # Multiarch. DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +# Num bits +DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS) + +ifeq ($(DEB_HOST_ARCH_BITS),32) + PARALLEL = "" +else + PARALLEL = --parallel +endif .PHONY: override_dh_auto_configure \ override_dh_install \ @@ -94,7 +102,7 @@ override_dh_installchangelogs: %: - dh $@ --builddirectory=build + dh $@ $(PARALLEL) --builddirectory=build get-orig-source: